HC: merge dupe selectors; linebreaks for legibility
authorDaniel Boles <dboles.src@gmail.com>
Tue, 3 Jul 2018 17:54:33 +0000 (18:54 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Tue, 3 Jul 2018 17:55:17 +0000 (18:55 +0100)
gtk/theme/HighContrast/_common.scss

index 5b7cab92f1ea37bbd12e22264f4af97042b3fe56..4150fd82a0ee94fa8dc3125b28760dfbbd19b1db 100644 (file)
@@ -2482,22 +2482,22 @@ progressbar {
     border-color: $borders_color;
     background-color: mix($borders_color,$bg_color, 35%);
     box-shadow: inset 1px 1px transparentize(black, 0.9);
+
     &:backdrop {
       border-color: $backdrop_borders_color;
       background-color: mix($backdrop_borders_color,$backdrop_bg_color, 35%);
       box-shadow: 0 1px transparentize(white,1);
     }
   }
+
   &.osd trough {
     background-color: transparent;
     box-shadow: none;
     border-width: 0;
     //FIXME: there is a margin on top
   }
-}
 
-// moving bit
-progressbar {
+  // moving bit
   &.horizontal {
     trough, progress { min-height: 2px; }
   }
@@ -2510,21 +2510,26 @@ progressbar {
     border-radius: 3px;
     border-color: $selected_borders_color;
     background-color: $selected_bg_color;
+
     // I really prefer these flat w/o this shadow - Lapo
     box-shadow: inset 0 1px 0 transparentize($borders_edge,0.8);
+
     &.vertical {
       box-shadow: inset 1px 0 0 transparentize($borders_edge,0.8);
     }
+
     &:backdrop {
       border-color: $selected_bg_color;
       background-color: $selected_bg_color;
       box-shadow: none;
     }
+
     &.osd {
       border-width: 0;
       border-radius: 0;
     }
   }
+
   trough.empty progress { all: unset; } // make the progress indicator disappear when the fraction is 0
 }